package com.yiwei.hdb.model;

import java.util.List;

/**
 * Created by xsooy-pc on 2017/6/14.
 */

public class ShareRecordModel extends ResponseModel{

    /**
     * status : 1
     * msg :
     * data : {"statistics":{"total":120,"point":50,"coupon":2,"register":6,"borrow":4,"repay":2},"lists":[{"id":14,"bonus_sn":"80734154886096","bonus_type_id":1,"bonus_rule_id":1,"user_id":363,"user_name":"","drawed_time":1497378442,"used_time":0,"module":null,"module_pk_Id":0,"create_time":1497378442,"receive_status":1,"use_status":1,"money":5,"limit_amount":0,"use_type":2,"send_type":7,"bonus_type_name":"现金券","use_start_time":1464668480,"use_end_time":1546156800}]}
     */
    public DataBean data;

    public static class DataBean {
        /**
         * statistics : {"total":120,"point":50,"coupon":2,"register":6,"borrow":4,"repay":2}
         * lists : [{"id":14,"bonus_sn":"80734154886096","bonus_type_id":1,"bonus_rule_id":1,"user_id":363,"user_name":"","drawed_time":1497378442,"used_time":0,"module":null,"module_pk_Id":0,"create_time":1497378442,"receive_status":1,"use_status":1,"money":5,"limit_amount":0,"use_type":2,"send_type":7,"bonus_type_name":"现金券","use_start_time":1464668480,"use_end_time":1546156800}]
         */

        public StatisticsBean statistics;
        public List<ListsBean> lists;

        public static class StatisticsBean {
            /**
             * total : 120
             * point : 50
             * coupon : 2
             * register : 6
             * borrow : 4
             * repay : 2
             */

            public int total;
            public int point;
            public int coupon;
            public int register;
            public int borrow;
            public int repay;
        }

        public static class ListsBean {
            /**
             * id : 14
             * bonus_sn : 80734154886096
             * bonus_type_id : 1
             * bonus_rule_id : 1
             * user_id : 363
             * user_name :
             * drawed_time : 1497378442
             * used_time : 0
             * module : null
             * module_pk_Id : 0
             * create_time : 1497378442
             * receive_status : 1   // 领取状态：0-不需要领取、1-待领取、2-已领取
             * use_status : 1       // 状态：1:未使用, 2:已使用, 3:已过期
             * money : 5
             * limit_amount : 0
             * use_type : 2
             * send_type : 7
             * bonus_type_name : 现金券
             * use_start_time : 1464668480
             * use_end_time : 1546156800
             */

            public String id;
            public String bonus_sn;
            public int bonus_type_id;
            public int bonus_rule_id;
            public int user_id;
            public String user_name;
            public long drawed_time;
            public int used_time;
            public String module;
            public int module_pk_Id;
            public int create_time;
            public int receive_status;
            public int use_status;
            public int money;
            public int limit_amount;
            public int use_type;
            public int send_type;
            public String bonus_type_name;
            public long use_start_time;
            public long use_end_time;
        }
    }
}
